<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CSS实现中英文导航菜单-http://www.codefans.net </title>
<style type="text/css">
a{
  color: #FFFF99;
  text-decoration: none;
}

a:hover{
  color: #FFF;
  text-decoration: underline;
}
   
#nav{
  padding: 10px 10px 0;
  font-size: 12px;
  font-weight: bold;
  margin: 1em 0 0;
  list-style:none;
}

#nav li{
  float: left;
  margin-right: 1px;
}

.bi{
  position: relative;
  z-index: 0;
}

.bi:hover{
  z-index: 99;
}

.bi:hover span{
  visibility: visible;
  top: 0;
  left: 0;
  cursor: pointer;
}

.bi span{
  position: absolute;
  left: -999em;
  visibility: hidden;
}

#nav li a,.bi:hover span{
  line-height: 20px;
  text-decoration: none;
  background: #DDD;
  color: #666;
  display: block;
  width: 80px;
  text-align: center;
}

#nav li a:hover,.bi:hover span{
  color: #FFF;
  background: #DC4E1B;
}

.bi:hover span{
  padding-top: 2px;
}

#navbar{
  background: #DC4E1B;
  height: 8px;
  overflow: hidden;
  clear: both;
}

</style>
</head>

<body>
<ul id="nav">
    <li><a class="bi" href="#">SitesPage<span>网站首页</span></a></li>
    <li><a class="bi" href="#">About us<span>关于我们</span></a></li>
    <li><a class="bi" href="#">Products<span>产品专区</span></a></li>
    <li><a class="bi" href="#">Services<span>客户服务</span></a></li>
    <li><a class="bi" href="#">Contact<span>联系我们</span></a></li>
</ul>
<div id="navbar"></div>
</body>
</html>